package com.ctshk.rpc.system.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 快速设置权限
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-1-5
 */
@Data
@ApiModel(value="QuickSetPermissionReq对象", description="快速设置权限请求对象")
public class QuickSetPermissionReq implements Serializable {

    @NotNull(message = "userId必填")
    @ApiModelProperty(value = "设置对象用户id", required = true)
    private Long userId;

    @NotNull(message = "othersUserId必填")
    @ApiModelProperty(value = "查询的他人uid", required = true)
    private Long othersUserId;

}
